﻿<%@ Page Language="C#"  CodeFile="onepagecheckout.aspx.cs" Inherits="InterpriseSuiteEcommerce.OnePageCheckOut" %>
<%@ Register Assembly="InterpriseSuiteEcommerceControls" Namespace="InterpriseSuiteEcommerceControls.Validators" TagPrefix="ise" %>
<%@ Register Assembly="InterpriseSuiteEcommerceControls" Namespace="InterpriseSuiteEcommerceControls"TagPrefix="ise" %>
<%@ Register TagPrefix="ise" TagName="Topic" Src="TopicControl.ascx" %>
<%@ Register TagPrefix="uc" TagName="ProfileControl" Src="~/UserControls/ProfileControl.ascx" %>
<%@ Register TagPrefix="uc" TagName="AddressControl" Src="~/UserControls/AddressControl.ascx" %>
<%@ Register TagPrefix="uc" TagName="BillingAddressControl" Src="~/UserControls/AddressControl.ascx" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script type="text/javascript" src="jscripts/jquery/jquery.cbe.onepage.checkout.js"></script>
    <style>
        span, td{font-weight:normal;font-style:normal !important;color: black !important;font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;font-size: 11px;font-style: normal !important;}
        #save-as-credit-place-holder{display:none;}
        #errorSummary{display:none;}
        .CreditCardPaymentMethodPanel {width: 485px !important;}
        .CreditCardPaymentMethodPanel tbody tr td{text-align:left;padding-left:22px;}
    </style>
</head>
<body>
<ise:InputValidatorSummary ID="errorSummary" CssClass="error float-left normal-font-style" runat="server" Register="False" />
    <form id="OnePageCheckout" runat="server">
    <div class="support-page-wrapper">
        <div class="clear-both height-12"></div>
        <div id="support-grid-wrapper">

           <div class="one-page-sections-head"><asp:Literal ID="litShippingDetails" runat="server">(!checkout1.aspx.30!)</asp:Literal></div>
           <div id="shipping-details-wrapper" class="padding-left-12 padding-right-12">

           <div id="step-1-error-place-holder" class="error-place-holder float-left normal-font-style font-size-12"></div> 

           <div class="clear-both height-12"></div>
           <div class="shipping-details-place-holder font-normal-style  custom-font-style float-left">
                <span class="strong-font  custom-font-style"><asp:Literal ID="litShippingContact" runat="server">(!checkout1.aspx.31!)</asp:Literal></span>
                <div class="clear-both height-5"></div>

                    <uc:ProfileControl id="ProfileControl" UseFullnameTextbox=true  exCludeAccountName=true runat="server" />

                <div class="clear-both height-5"></div>
                <div class="clear-both height-12"></div>
                <span class="strong-font  custom-font-style"><asp:Literal ID="litShippingAddress" runat="server">(!checkout1.aspx.32!)</asp:Literal></span>
                <div class="clear-both height-5"></div>


                <uc:AddressControl id="ShippingAddressControl" IdPrefix="shipping-" showResidenceTypes=true showBusinessTypes=false hideStreetAddress=false runat="server" />


            </div>
            <div id="shipping-helpful-tips-place-holder" class="font-normal-style  custom-font-style float-left">
                    <ise:Topic ID="OnePageCheckoutHelpfulTips" runat="server" TopicName="OnePageCheckoutHelpfulTips" />
            </div>
     
            <div class="clear-both height-5"></div>
            <div class="clear-both height-12"></div>

            <div id="shipping-info-button-place-holder">
               <div id="save-shipping-button">
                   
                     <div id="save-shipping-loader"></div>
                     <div id="save-shipping-button-place-holder">
                        <input type="button" value="Continue" id="opc-submit-step-1" class="site-button"/> 
                     </div>

               </div>
            </div>

            <div class="clear-both height-5"></div>
            <div class="clear-both height-12"></div>

          </div>

          <!-- HTML Content for shipping details after button ("continue") click event [Step 1 -> Saving Shipping info ] -->

          <div id="shipping-details-wrapper-hidden" class="padding-left-12 padding-right-12">
                <div class="clear-both height-12"></div>

	            <div class="shipping-details-place-holder font-normal-style  custom-font-style float-left">

		            <div style="float:left;width:50%">

			            <span class="strong-font  custom-font-style"><asp:Literal ID="litShippingContactHidden" runat="server">(!checkout1.aspx.31!)</asp:Literal></span>
			            <div class="clear-both height-5"></div>

			            <ul class="ul-list-no-style no-margin padding-left-12">
				            <li id="li-contact"></li>
				            <li id="li-email"></li>
				            <li id="li-phone"></li>
			            </ul>

		            </div>

		            <div style="float:left;width:50%">

			            <span class="strong-font  custom-font-style"><asp:Literal ID="litShippingAddressHidden" runat="server">(!checkout1.aspx.32!)</asp:Literal></span>
			            <div class="clear-both height-5"></div>

			            <ul class="ul-list-no-style no-margin padding-left-12">
			               <li id="li-address"></li>
			               <li id="li-city-state-postal">
                               <span id="li-span-city"></span>
                               <span id="li-span-state"></span>
                               <span id="li-span-postal"></span>
                           </li>
			               <li id="li-country"></li>
                           <li class="display-none" id="li-county"><li> 
			               <li id="li-residence"><li>
			            </ul>

		            </div>

		            <div class="clear-both height-5"></div>
	            </div>
	            <div>
		            <span class="one-page-link-right normal-font-style  float-right custom-font-style"><a  id="edit-shipping" href="javascript:void(1);"><asp:Literal ID="litEditShipping" runat="server">(!checkout1.aspx.33!)</asp:Literal></a></span>
		            <div class="clear-both height-5"></div>
	            </div>
					   
                <div class="clear-both height-5"></div>
                <div class="clear-both height-12"></div>
          </div>

          <!--  Shipping Method Place Holder Starts Here  -->

          <div id="shipping-methods-wrapper" class="padding-left-12 padding-right-12">
            
            <div id="step-2-error-place-holder" class="error-place-holder float-left normal-font-style font-size-12"></div> 

            <div class="clear-both height-12"></div>
                <span class="strong-font  custom-font-style"><asp:Literal ID="litShippingMethod" runat="server">(!checkout1.aspx.34!)</asp:Literal></span> 
                <span class="one-page-link-right normal-font-style  float-right custom-font-style">
                    <a href="javascript:void(1)" id="edit-shipping-method">
                        <asp:Literal ID="litEditShippingMethod" runat="server">(!checkout1.aspx.35!)</asp:Literal>
                    </a>
                </span>
            <div class="clear-both height-12"></div>

            <div id="selected-shipping-method" class="padding-left-12"></div>
            <div id="available-shipping-methods" class="width-full">
                 <asp:Panel ID="pnlShippingMethod" runat="server">
                    <asp:Label ID="lblSelectShippingMethod" Text="" runat="server" Font-Bold="true" />
                    <br />
                    <ise:ShippingMethodControl ID="ctrlShippingMethod" runat="server" />
                </asp:Panel>

                <div class="clear-both height-5"></div>
                <div class="clear-both height-12"></div>

                <div id="shipping-method-button-place-holder">
                   <div id="save-shipping-method-button">
                        <input type="button" value="Continue" id="opc-submit-step-2" class="site-button"/>
                   </div>
                   <div id="save-shipping-method-loader"></div>
                </div>

                <div class="clear-both height-5"></div>
                <div class="clear-both height-12"></div>

            </div>
            <div class="clear-both"></div>
          </div>

          <div class="clear-both"></div>
          <div class="clear-both height-12"></div>

          <!--  Shipping Method Place Holder Ends Here  -->

          <div class="one-page-sections-head"><asp:Literal ID="litPaymentDetails" runat="server">(!checkout1.aspx.36!)</asp:Literal></div>

          <div class="clear-both"></div>
          <div id="billing-details-wrapper" class="padding-left-12 padding-right-12">

          <div id="step-3-error-place-holder" class="error-place-holder float-left normal-font-style font-size-12"></div>
                <div class="clear-both"></div>
                <div class="clear-both-12"></div>
                
                <div  id="billing-details-place-holder normal-font-style font-size-12 float-left">
                     <span class="strong-font  custom-font-style"><asp:Literal ID="litBillingContact" runat="server">(!checkout1.aspx.37!)</asp:Literal></span> 
                     <span id="copy-shipping-info-place-holder" class="float-right">
                        <asp:CheckBox ID="copyShippingInfo" runat="server"/>
                        <span class="checkbox-captions custom-font-style">Same as Shipping Info</span>
                    </span>
                    <div class="clear-both height-5"></div>

                       <div class="form-controls-place-holder">

                            <span class="form-controls-span">
                                <label id="lblBillingContactName" class="support-control-label">
                                    <asp:Literal ID="litBillingContactName" runat="server">(!customersupport.aspx.4!)</asp:Literal>
                                </label>
                                <asp:TextBox ID="txtBillingContactName" runat="server" CssClass = "light-style-input"></asp:TextBox>
                            </span>

                         <span class="form-controls-span">
                            <label id="lblBillingAreaCode" class="support-control-label">
                                <asp:Literal ID="litBillingAreaCode" runat="server">(!customersupport.aspx.6!)</asp:Literal>
                            </label>
                            <asp:TextBox ID="txtBillingAreaCode" runat="server" CssClass = "light-style-input"></asp:TextBox>
                        </span>

                        <span class="form-controls-span">
                            <label  id="lblBillingPrimaryPhone" class="support-control-label">
                            <asp:Literal ID="litBillingPrimaryPhone" runat="server">(!customersupport.aspx.7!)</asp:Literal>
                            </label>
                            <asp:TextBox ID="txtBillingPrimaryPhone" runat="server" CssClass = "light-style-input"></asp:TextBox>
                        </span>

                     </div>

                     <div class="clear-both height-12"></div>

                     <span class="strong-font  custom-font-style"><asp:Literal ID="litBillingAddress" runat="server">(!checkout1.aspx.38!)</asp:Literal></span>
                     <div class="clear-both height-5"></div>
                       <uc:BillingAddressControl id="BillingAddressControl" IdPrefix="billing-" runat="server" />
                     <div class="clear-both height-12"></div>

                     <div class="form-controls-place-holder">
                       <span class="form-controls-span label-outside" id="age-13-place-holder">
                         <input type="checkbox" id="im-over-13-years-of-age"/> <span class="checkbox-captions"><asp:Literal ID="litImOver13" runat="server">(!checkout1.aspx.39!)</asp:Literal></span>
                      </span>
                   </div>
                   <div class="clear-both height-12"></div>
                </div>

                <div id="move-credit-card-down-if-width-less-or-1000"></div>

                <div id="credit-card-details-place-holder normal-font-style ">
               
                <div id="credit-card-options">
                    <asp:Literal ID="LtrCreditCardOptionsRenderer" runat=server></asp:Literal>
                </div>

                <span class="strong-font  custom-font-style"><asp:Literal ID="litPaymentsMethod" runat="server">(!checkout1.aspx.40!)</asp:Literal></span>

                <div class="clear-both"></div>

                <asp:Panel ID="pnlPaymentTerm" runat="server" HorizontalAlign="Center">
                    <ise:PaymentTermControl ID="ctrlPaymentTerm" runat="server" CardTypeCaption="Card Type" CVVCaption="Credit Card Verification Code" />
                </asp:Panel> 

                <div id="save-as-credit-place-holder">
                     <asp:Literal ID="SaveCardAsLtr" runat=server></asp:Literal>
                </div>

               </div>
               <div class="clear-both height-5"></div>
               <div class="clear-both height-12"></div>

                <div id="billing-method-button-place-holder">
                    <div id="billing-method-button">
                        <input type="button" value="Continue" id="opc-submit-step-3" class="site-button"/>
                    </div>
                    <div id="save-billing-method-loader"></div>
                </div>

                <div class="clear-both height-5"></div>
                <div class="clear-both height-12"></div>

          </div>

          <div id="billing-details-wrapper-hidden" class="padding-left-12 padding-right-12">
                <div class="clear-both height-12"></div>

	            <div class="shipping-details-place-holder font-normal-style  custom-font-style float-left">

		            <div style="float:left;width:50%">

			            <span class="strong-font  custom-font-style"><asp:Literal ID="litBillingContactHidden" runat="server">(!checkout1.aspx.37!)</asp:Literal></span>
			            <div class="clear-both height-5"></div>

			            <ul class="ul-list-no-style no-margin float-left padding-left-12">
				            <li id="li-billing-contact"></li>
				            <li id="li-billing-email"></li>
				            <li id="li-billing-phone"></li>
			            </ul>
			
		            </div>

		            <div class="float-left width-half">

			            <span class="strong-font  custom-font-style"><asp:Literal ID="litBillingAddressHidden" runat="server">(!checkout1.aspx.38!)</asp:Literal></span>
			            <div class="clear-both height-5"></div>

			            <ul class="ul-list-no-style no-margin padding-left-12">
			               <li id="li-billing-address"></li>
			               <li>
                               <span id="li-billing-city"></span>
                               <span id="li-billing-state"></span>
                               <span id="li-billing-postal"></span>
                           </li>
			               <li id="li-billing-country"></li>
                           <li class="display-none" id="li-billing-county"></li>
			            </ul>

		            </div>

		            <div class="clear-both height-5"></div>
                    <div class="clear-both height-12"></div>
                    <div class="strong-font  custom-font-style"><asp:Literal ID="litPaymentsMethodHiddent" runat="server">(!checkout1.aspx.40!)</asp:Literal>:</div>
                    <div class="clear-both height-5"></div>
                    <ul class="ul-list-no-style no-margin padding-left-12">
                        <li id="selected-payments-method"></li>
                    </ul>

	            </div>
	            <div id="Div6">
		            <span class="one-page-link-right normal-font-style  float-right custom-font-style">
                        <a  id="edit-payments-method" href="javascript:void(1);">
                           <asp:Literal ID="litEditPaymentDetails" runat="server">(!checkout1.aspx.41!)</asp:Literal>
                        </a>
                        </span>
		            <div class="clear-both height-5"></div>
	            </div>
					   
                <div class="clear-both height-5"></div>
                <div class="clear-both height-12"></div>
          </div>
          <div class="support-grid-border-bottom_1"></div>
        </div>

        <div class="clear-both height-5"></div>
        <div class="clear-both height-12"></div>

        <div style="border: 1px solid #C8C8C8;">
           <div class="one-page-sections-head"><asp:Literal ID="litItemsToBeShipped" runat="server">(!checkout1.aspx.42!)</asp:Literal></div>
           
           <div id="order-summary-head-text" style="padding-left: 23px;padding-right:12px">
             <div class="clear-both height-12"></div>
             <span class="strong-font  custom-font-style">
                <asp:Literal ID="litOrderSummary" runat="server">(!checkout1.aspx.43!)</asp:Literal>
             </span> 
             <span class="one-page-link-right normal-font-style  float-right">
             <a href="shoppingcart.aspx"><asp:Literal ID="litEditCart" runat="server">(!checkout1.aspx.44!)</asp:Literal></a></span>
           </div>

           <div class="clear-both height-12"></div>

           <div id="items-to-be-shipped-place-holder"></div>
           <div class="clear-both height-12"></div>
           <div id='items-to-be-shipped-footer'>
           <asp:Literal runat="server" ID="litOrderSummaryFooter"></asp:Literal>
           </div>
                    <div class="clear-both height-12"></div>
        </div>
       
    </div>
    <!-- -->

    <div style="display:none">
         <asp:Button ID="btnDoProcessPayment" runat="server" Text="" OnClick="btnDoProcessPayment_Click" />             
         <asp:TextBox ID="txtCityStates" runat="server"></asp:TextBox>
         <asp:TextBox id="txtCode" runat="server"></asp:TextBox>
         <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox>
    </div>

    <%-- used on old address verification --> --%>

    <div id="overides-verification-dialog-values-assignment" class="display-none">true</div>
    <div id="checking-out" style="display:none;"><asp:Literal ID="LtrCheckOutMode" runat="server"></asp:Literal></div>
    <div id="opc-final-button-caption" style="display:none;"><asp:Literal ID="LtrOpcFinalButtonCaption" runat="server"></asp:Literal></div>
    <div id="c-ref-no" style="display:none;"></div>
    
    <%-- used on old address verification <-- --%>

    </form>
</body>
</html>
